<%@page contentType="text/html; charset=utf-8"%>
<%@ include file="./inc/TagLibs.jsp"%>
<c:if test="${currentUser.user.userType==1 || fn:indexOf(currentUser.privs,';BASE;')!=-1}">
<c:if test="${currentUser.user.userType==1 || fn:indexOf(currentUser.privs,';BASE_STAF;')!=-1}">
{code:'1001', name:'员工', title:'' },
    {code:'100111',type:1, name:'部门与员工', title:'', url:'javascript:showWin(900,640,"/base/StafferMain.ihtm");' },
</c:if>
<c:if test="${currentUser.user.userType==1 || fn:indexOf(currentUser.privs,';ESTA_TYPE;')!=-1 || fn:indexOf(currentUser.privs,';ESTA_CLAS;')!=-1 || fn:indexOf(currentUser.privs,';BASE_AREA;')!=-1}">
{code:'1002', name:'客户', title:'' },
    <c:if test="${currentUser.user.userType==1 || fn:indexOf(currentUser.privs,';ESTA_TYPE;')!=-1}">{code:'100211',type:0, name:'单位类别', title:'', url:'javascript:showWin(400,350,"/base/EstablishmentTypeList.ihtm");' },</c:if>
    <c:if test="${currentUser.user.userType==1 || fn:indexOf(currentUser.privs,';ESTA_CLAS;')!=-1}">{code:'100212',type:0, name:'单位等级', title:'', url:'javascript:showWin(400,350,"/base/EstablishmentLevelList.ihtm");' },</c:if>
    <c:if test="${currentUser.user.userType==1 || fn:indexOf(currentUser.privs,';BASE_AREA;')!=-1}">{code:'100213',type:0, name:'地区管理', title:'', url:'javascript:showWin(540,350,"/base/AreaList.ihtm");' },</c:if>
</c:if>
<c:if test="${currentUser.user.userType==1 || fn:indexOf(currentUser.privs,';MAKE_TYPE;')!=-1 || fn:indexOf(currentUser.privs,';MAKE_REQU;')!=-1 || fn:indexOf(currentUser.privs,';ACCE_MARK;')!=-1 || fn:indexOf(currentUser.privs,';WORK_CENT;')!=-1 || fn:indexOf(currentUser.privs,';PAY_MODE;')!=-1}">
{code:'1003', name:'业务', title:'' },
    <c:if test="${currentUser.user.userType==1 || fn:indexOf(currentUser.privs,';MAKE_TYPE;')!=-1}">{code:'100311',type:1, name:'项目类型', title:'', url:'javascript:showWin(680,500,"/base/MakeTypeList.ihtm");' },</c:if>
    <c:if test="${currentUser.user.userType==1 || fn:indexOf(currentUser.privs,';MAKE_REQU;')!=-1}">{code:'100312',type:0, name:'制作要求', title:'', url:'javascript:showWin(600,500,"/base/MakeRequireList.ihtm");' },</c:if>
    <c:if test="${currentUser.user.userType==1 || fn:indexOf(currentUser.privs,';ACCE_MARK;')!=-1}">{code:'100313',type:0, name:'文件说明', title:'', url:'javascript:showWin(600,500,"/base/AccessoryMarkList.ihtm");' },</c:if>
    
    <c:if test="${currentUser.user.userType==1 || fn:indexOf(currentUser.privs,';WORK_CENT;')!=-1}">{code:'100321',type:0, name:'工作中心', title:'', url:'javascript:showWin(600,400,"/base/WorkCenterList.ihtm");' },</c:if>
    <c:if test="${currentUser.user.userType==1 || fn:indexOf(currentUser.privs,';PAY_MODE;')!=-1}">{code:'100322',type:0, name:'付款方式', title:'', url:'javascript:showWin(400,300,"/base/PayModeList.ihtm");' },</c:if>
</c:if>
<c:if test="${currentUser.user.userType==1 || fn:indexOf(currentUser.privs,';BASE_PROD;')!=-1 || fn:indexOf(currentUser.privs,';BASE_UNIT;')!=-1}">
{code:'1004', name:'材料', title:'' },
    <c:if test="${currentUser.user.userType==1 || fn:indexOf(currentUser.privs,';BASE_PROD;')!=-1}">{code:'100411',type:0, name:'材料', title:'', url:'javascript:showWin(900,640,"/base/ProductMain.ihtm");' },</c:if>
    <c:if test="${currentUser.user.userType==1 || fn:indexOf(currentUser.privs,';BASE_UNIT;')!=-1}">{code:'100412',type:0, name:'计量单位', title:'', url:'javascript:showWin(400,300,"/base/UnitList.ihtm");' },</c:if>
</c:if>
<c:if test="${currentUser.user.userType==1 || fn:indexOf(currentUser.privs,';BASE_STOR;')!=-1 || fn:indexOf(currentUser.privs,';IN_TYPE;')!=-1 || fn:indexOf(currentUser.privs,';OUT_TYPE;')!=-1}">
{code:'1005', name:'仓库', title:'' },
    <c:if test="${currentUser.user.userType==1 || fn:indexOf(currentUser.privs,';BASE_STOR;')!=-1}">{code:'100511',type:0, name:'仓库', title:'', url:'javascript:showWin(600,400,"/base/StorehouseList.ihtm");' },</c:if>
    <c:if test="${currentUser.user.userType==1 || fn:indexOf(currentUser.privs,';IN_TYPE;')!=-1}">{code:'100512',type:0, name:'入库类型', title:'', url:'javascript:showWin(600,500,"/base/InTypeList.ihtm");' },</c:if>
    <c:if test="${currentUser.user.userType==1 || fn:indexOf(currentUser.privs,';OUT_TYPE;')!=-1}">{code:'100513',type:0, name:'出库类型', title:'', url:'javascript:showWin(600,500,"/base/OutTypeList.ihtm");' },</c:if>
</c:if>
<c:if test="${currentUser.user.userType==1 || fn:indexOf(currentUser.privs,';BANK_ACCO;')!=-1 || fn:indexOf(currentUser.privs,';INCO_TYPE;')!=-1 || fn:indexOf(currentUser.privs,';FEE_TYPE;')!=-1}">
{code:'1006', name:'账务', title:'' },
    <c:if test="${currentUser.user.userType==1 || fn:indexOf(currentUser.privs,';BANK_ACCO;')!=-1}">{code:'100611',type:0, name:'银行账户', title:'', url:'javascript:showWin(900,400,"/base/BankAccountList.ihtm");' },</c:if>
    <c:if test="${currentUser.user.userType==1 || fn:indexOf(currentUser.privs,';INCO_TYPE;')!=-1}">{code:'100612',type:0, name:'收入类型', title:'', url:'javascript:showWin(600,400,"/base/IncomeTypeList.ihtm");' },</c:if>
    <c:if test="${currentUser.user.userType==1 || fn:indexOf(currentUser.privs,';FEE_TYPE;')!=-1}">{code:'100613',type:0, name:'费用类型', title:'', url:'javascript:showWin(600,400,"/base/FeeTypeList.ihtm");' },</c:if>
</c:if>
</c:if>

<c:if test="${currentUser.user.userType==1 || fn:indexOf(currentUser.privs,';SYST;')!=-1}">
<c:if test="${currentUser.user.userType==1 || fn:indexOf(currentUser.privs,';SYST_CONF;')!=-1 || fn:indexOf(currentUser.privs,';SMS_SUBS;')!=-1}">
{code:'1101', name:'配置', title:'' },
    <c:if test="${currentUser.user.userType==1 || fn:indexOf(currentUser.privs,';SYST_CONF;')!=-1}">{code:'110111',type:0, name:'系统配置', title:'', url:'javascript:showWin(900,620,"/system/EnterpriseInfoEdit.ihtm");' },</c:if>
    <c:if test="${currentUser.user.userType==1 || fn:indexOf(currentUser.privs,';SMS_SUBS;')!=-1}">{code:'110112',type:0, name:'消息提醒设置', title:'', url:'javascript:showWin(520,640,"/sms/SmsSubscribe.ihtm");' },</c:if>
</c:if>
<c:if test="${currentUser.user.userType==1 || fn:indexOf(currentUser.privs,';SYST_USER;')!=-1 || fn:indexOf(currentUser.privs,';CLIE_USER;')!=-1}">
{code:'1102', name:'账户', title:'' },
    <c:if test="${currentUser.user.userType==1 || fn:indexOf(currentUser.privs,';SYST_CONF;')!=-1}">{code:'110211',type:1, name:'用户权限', title:'', url:'javascript:showWin(600,530,"/system/UserList.ihtm");' },</c:if>
    <c:if test="${showClieUser=='Y' && (currentUser.user.userType==1 || fn:indexOf(currentUser.privs,';CLIE_USER;')!=-1)}">{code:'110212',type:0, name:'客户下单帐号', title:'', url:'javascript:showWin(700,530,"/system/ClieUserList.ihtm");' },</c:if>
</c:if>
<c:if test="${currentUser.user.userType==1 || fn:indexOf(currentUser.privs,';DATA_CODE;')!=-1 || fn:indexOf(currentUser.privs,';BILL_CODE;')!=-1}">
{code:'1103', name:'规则', title:'' },
    <c:if test="${currentUser.user.userType==1 || fn:indexOf(currentUser.privs,';DATA_CODE;')!=-1}">{code:'110311',type:0, name:'主数据编号规则', title:'', url:'javascript:showWin(900,530,"/system/CodeRuleMain.ihtm?list_type=1");' },</c:if>
    <c:if test="${currentUser.user.userType==1 || fn:indexOf(currentUser.privs,';BILL_CODE;')!=-1}">{code:'110312',type:0, name:'单据编号与打印说明', title:'', url:'javascript:showWin(900,530,"/system/CodeRuleMain.ihtm?list_type=2");' },</c:if>
</c:if>
<c:if test="${currentUser.user.userType==1 || fn:indexOf(currentUser.privs,';CANC_LOG;')!=-1 || fn:indexOf(currentUser.privs,';BUSI_LOG;')!=-1 || fn:indexOf(currentUser.privs,';CLIE_LOG;')!=-1 || fn:indexOf(currentUser.privs,';SMS_HIST;')!=-1 || fn:indexOf(currentUser.privs,';SYST_LOG;')!=-1}">
{code:'1104', name:'历史', title:'' },
    <c:if test="${currentUser.user.userType==1 || fn:indexOf(currentUser.privs,';CANC_LOG;')!=-1}">{code:'110411',type:1, name:'单据作废历史', title:'', url:'javascript:showWin(900,600,"/system/CancelLogList.ihtm");' },</c:if>
    <c:if test="${currentUser.user.userType==1 || fn:indexOf(currentUser.privs,';BUSI_LOG;')!=-1}">{code:'110412',type:0, name:'业务单改单历史', title:'', url:'javascript:showWin(1024,600,"/business/BusinessLogList.ihtm");' },</c:if>
    <c:if test="${currentUser.user.userType==1 || fn:indexOf(currentUser.privs,';CLIE_LOG;')!=-1}">{code:'110413',type:0, name:'客户修改历史', title:'', url:'javascript:showWin(1024,600,"/base/EstablishmentLogSearchResult.ihtm");' },</c:if>
    
    <c:if test="${currentUser.user.userType==1 || fn:indexOf(currentUser.privs,';SMS_HIST;')!=-1}">{code:'110421',type:0, name:'短信消费历史', title:'', url:'javascript:showWin(900,600,"/sms/SmsHistoryList.ihtm");' },</c:if>
    <c:if test="${currentUser.user.userType==1 || fn:indexOf(currentUser.privs,';SYST_LOG;')!=-1}">{code:'110422',type:0, name:'登录历史', title:'', url:'javascript:showWin(900,600,"/system/SystemLogList.ihtm");' },</c:if>
</c:if>
<c:if test="${currentUser.user.userType==1 || fn:indexOf(currentUser.privs,';CLIE_IMPO;')!=-1 || fn:indexOf(currentUser.privs,';COOP_IMPO;')!=-1 || fn:indexOf(currentUser.privs,';PROV_IMPO;')!=-1 || fn:indexOf(currentUser.privs,';STAF_IMPO;')!=-1 || fn:indexOf(currentUser.privs,';PROD_IMPO;')!=-1 || fn:indexOf(currentUser.privs,';MT_IMPO;')!=-1 || fn:indexOf(currentUser.privs,';CLIE_PRIC_IMPO;')!=-1 || fn:indexOf(currentUser.privs,';COOP_PRIC_IMPO;')!=-1}">
{code:'1105', name:'导入', title:'' },
    <c:if test="${currentUser.user.userType==1 || fn:indexOf(currentUser.privs,';CLIE_IMPO;')!=-1}">{code:'110511',type:1, name:'导入客户', title:'', url:'javascript:doImpo("/base/EstImpoForm.ihtm?type=CLIE","/base/EstImpo.ihtm?type=CLIE");' },</c:if>
    <c:if test="${currentUser.user.userType==1 || fn:indexOf(currentUser.privs,';COOP_IMPO;')!=-1}">{code:'110512',type:0, name:'导入外协商', title:'', url:'javascript:doImpo("/base/EstImpoForm.ihtm?type=COOP","/base/EstImpo.ihtm?type=COOP");' },</c:if>
    <c:if test="${currentUser.user.userType==1 || fn:indexOf(currentUser.privs,';PROV_IMPO;')!=-1}">{code:'110513',type:0, name:'导入供应商', title:'', url:'javascript:doImpo("/base/EstImpoForm.ihtm?type=PROV","/base/EstImpo.ihtm?type=PROV");' },</c:if>
    
    <c:if test="${currentUser.user.userType==1 || fn:indexOf(currentUser.privs,';STAF_IMPO;')!=-1}">{code:'110521',type:0, name:'导入员工', title:'', url:'javascript:doImpo("/base/StafImpoForm.ihtm","/base/StafImpo.ihtm");' },</c:if>
    <c:if test="${currentUser.user.userType==1 || fn:indexOf(currentUser.privs,';PROD_IMPO;')!=-1}">{code:'110522',type:0, name:'导入材料', title:'', url:'javascript:doImpo("/base/ProductUploadForm.ihtm","/base/ProductImport.ihtm");' },</c:if>
    <c:if test="${currentUser.user.userType==1 || fn:indexOf(currentUser.privs,';MT_IMPO;')!=-1}">{code:'110523',type:0, name:'导入项目类型', title:'', url:'javascript:doImpo("/base/MakeTypeImpoForm.ihtm","/base/MakeTypeImpo.ihtm");' },</c:if>
    
    <c:if test="${currentUser.user.userType==1 || fn:indexOf(currentUser.privs,';CLIE_PRIC_IMPO;')!=-1}">{code:'110531',type:0, name:'导入业务项目价格', title:'', url:'javascript:doImpo("/base/EstPricImpoForm.ihtm?type=CLIE","/base/EstPricImpo.ihtm?type=CLIE");' },</c:if>
    <c:if test="${currentUser.user.userType==1 || fn:indexOf(currentUser.privs,';COOP_PRIC_IMPO;')!=-1}">{code:'110532',type:0, name:'导入外协项目价格', title:'', url:'javascript:doImpo("/base/EstPricImpoForm.ihtm?type=COOP","/base/EstPricImpo.ihtm?type=COOP");' },</c:if>
</c:if>
<c:if test="${currentUser.user.userType==1 || fn:indexOf(currentUser.privs,';CLIE_BEGI_IMPO;')!=-1 || fn:indexOf(currentUser.privs,';COOP_BEGI_IMPO;')!=-1 || fn:indexOf(currentUser.privs,';PROV_BEGI_IMPO;')!=-1}">
{code:'1106', name:'期初', title:'' },
    <c:if test="${currentUser.user.userType==1 || fn:indexOf(currentUser.privs,';CLIE_BEGI_IMPO;')!=-1}">{code:'110611',type:0, name:'导入客户期初欠款', title:'', url:'javascript:doImpo("/base/EstBegiImpoForm.ihtm?type=CLIE","/base/EstBegiImpo.ihtm?type=CLIE");' },</c:if>
    <c:if test="${currentUser.user.userType==1 || fn:indexOf(currentUser.privs,';COOP_BEGI_IMPO;')!=-1}">{code:'110612',type:0, name:'导入外协商期初欠款', title:'', url:'javascript:doImpo("/base/EstBegiImpoForm.ihtm?type=COOP","/base/EstBegiImpo.ihtm?type=COOP");' },</c:if>
    <c:if test="${currentUser.user.userType==1 || fn:indexOf(currentUser.privs,';PROV_BEGI_IMPO;')!=-1}">{code:'110621',type:0, name:'导入供应商期初欠款', title:'', url:'javascript:doImpo("/base/EstBegiImpoForm.ihtm?type=PROV","/base/EstBegiImpo.ihtm?type=PROV");' },</c:if>
</c:if>
<c:if test="${currentUser.user.userType==1 || fn:indexOf(currentUser.privs,';DB_BACK;')!=-1 || fn:indexOf(currentUser.privs,';SYST_TS;')!=-1}">
{code:'1107', name:'其他', title:'' },
    <c:if test="${currentUser.user.userType==1 || fn:indexOf(currentUser.privs,';DB_BACK;')!=-1}">{code:'110711',type:0, name:'数据库备份', title:'', url:'javascript:showWin(900,550,"/system/DbBackupList.ihtm");' },</c:if>
    <c:if test="${currentUser.user.userType==1 || fn:indexOf(currentUser.privs,';SYST_TS;')!=-1}">{code:'110712',type:0, name:'帐套管理', title:'', url:'javascript:showWin(400,300,"/system/TallySetList.ihtm");' },</c:if>
</c:if>
</c:if>
null];

</script>
